﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp5
{
    class Program
    {
        static void Main(string[] args)
        {
            //2、猫、狗、鸭、猴，（吃、游泳、爬树）
            Cat cat = new Cat("猫");
            cat.Eat();
            cat.climb();
            Dog dog = new Dog("狗");
            dog.Eat();
            dog.swim();
            Duck duck = new Duck("鸭");
            duck.Eat();
            duck.swim();
            Monkey monkey = new Monkey("猴");
            monkey.Eat();
            monkey.climb();
        }
    }
}
